import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant'
import axios from './api/http'
import api from './api/index'
import dayjs from 'dayjs'
import 'vant/lib/index.less';
import './assets/less/global.less';

Vue.use(Vant);
Vue.config.productionTip = false
Vue.prototype.$axios = axios
Vue.prototype.$api = api
Vue.prototype.$dayjs = dayjs
dayjs.locale('zh-cn')

Vue.mixin({
  data () {
    return {
      domain: 'http://xiaozaopai.com/'
    };
  }
});

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
